<div class="indexcontent">
    <div class="content">
        <div class="leftcontent">
            <?php echo $this->load->view('html/left'); ?>
        </div><!--leftcontent-->
        <div class="rightcontent">
            <?php echo $this->load->view('html/banner'); ?> 
            <div class="linkpre">
                <ul>
                    <li><a href="<?php echo base_url() ?>">Trang chủ</a></li>
                    <li><p>&raquo;</p></li>
                    <li class='last'><a href="<?php echo base_url()?>sitemap.html" title="sitemap">Sitemap</a></li>
                   

                </ul>
            </div><!--linkpre-->
            <div class="boxsma">
        
                <div class="sitemap">
					<ul>
                        <li><a href="/index.html">Trang chủ</a>
                        </li>
                        <li><a href="/gioi-thieu-eshop24h.html" title="Giới Thiệu 24 giờ mua giá rẻ">Giới thiệu</a>
                        <li><a href="<?php echo urlAlias('giao-hang-trong-vong-24h')?>" title="Quy định giao hàng">Quy định giao hàng</a>
                        
                        </li>
                        <?php if($menuProductCate){ 
							$count_menu = count($menuProductCate);
							foreach($menuProductCate as $key=>$menu_item){ 
						?>  
                        <li<?php if ($key==($count_menu-1)) echo ' class="last"' ?>><a href="<?php echo urlAlias($menu_item->name_alias)?>" title="<?php echo $menu_item->name;?>"><span><?php echo $menu_item->name;?></span></a>
                        <?php $sub_menu_cate = getMenuProCate($menu_item->product_category_id);?>
                        <?php if($sub_menu_cate){ ?>
                            <ul>
                            <?php foreach($sub_menu_cate as $sub_item){ ?>
                                <li><a href="<?php echo urlAlias($sub_item->name_alias)?>" title="<?php echo $sub_item->name;?>"><?php echo $sub_item->name;?></a>
                                  <?php $sub1_menu_cate = getMenuProCate($sub_item->product_category_id);?>
                                  <?php if($sub1_menu_cate){ ?>
                                    <ul>
                                     <?php foreach($sub1_menu_cate as $sub1_item){ ?>
                                        <li><a href="<?php echo urlAlias($sub1_item->name_alias)?>" title="<?php echo $sub1_item->name?>"><?php echo $sub1_item->name?></a></li>
                                       <?php } ?>
                                    </ul>
                                    <?php } ?>
                                </li>
                                
                            <?php } ?>
                            </ul>
                       <?php } ?>
                        </li>
                        
                       
                        <?php } 
						}
						?>
                       </ul>
        </div>
            </div><!--boxsma-->
        </div><!--rightcontent-->
    </div><!--content-->
</div>